import { _decorator, Component, director, instantiate, Node, Prefab } from 'cc';
import { BaseManager } from './BaseManager';
import { BaseGame } from '../games/BaseGame';
import { _resource } from '../Main';
const { ccclass, property } = _decorator;

/** 游戏状态 */
export enum GameState {
    /** 加载中 */
    Loading,
    /** 游戏中 */
    Gaming,
    /** 等待复活 */
    Reviving,
    /** 成功 */
    Success,
    /** 失败 */
    Fail
}

@ccclass('GameManager')
export class GameManager extends BaseManager {

    managerName: string = '游戏管理器'

    /** 游戏 */
    game: BaseGame = null

    loading: boolean = false

    init() {
        
    }
}


